import request from './request'

// 热门歌单列表
export const singlesList = () => {
  return request({ url: '/playlist/hot', method: 'GET' })
}

//获取精品歌单
export const boutiqueList= (tags) => {
    return request({ url: `top/playlist/highquality/?cat=${tags}`, method: 'GET' })
  }

  //获取歌单详情
export const sheetdetail= (id) => {
    return request({ url: `/playlist/detail?id=${id}`, method: 'GET' })
  }
  
//获取歌单歌曲
  export const sheetsong= (id) => {
    return request({ url: `/playlist/track/all?id=${id}`, method: 'GET' })
  }
//获取歌曲播放url
  export const songurl = (id) => {
    return request({ url: `/song/url/v1?id=${id}&level=exhigh`, method: 'GET' })
  }
//获取歌曲详情
export const songdetail = (id) => {
  return request({ url: `/song/detail?ids=${id}`, method: 'GET' })
}

  